package com.itheima.date;

import java.util.Date;

public class Demo01 {

    public static void main(String[] args) {
        //当前的系统时间
        Date date = new Date( System.currentTimeMillis());
        long l = System.currentTimeMillis();
        System.out.println(date);
        System.out.println(l);

        Date date1 = new Date(1630548714094L);//Thu Sep 02 10:11:54 CST 2021
        System.out.println(date1);

    }
}
